<template>
	<view id="apps">
		
		
		
		<!-- form -->
		<view class="form">
			<view class="form_item">
				<text>消费总额</text>
				<input type="text" placeholder="询问服务员后输入" placeholder-class="placeholder">
			</view>
			<view class="form_item">
				<text>银米抵扣</text>
				<input type="text" placeholder="询问服务员后输入(如酒水)" placeholder-class="placeholder">
			</view>
		</view>
		
	
				
		<!-- form -->
		<view class="form">
			<view class="form_item">
				<text>实付金额</text>
				<text class="price">￥199.99</text>
			</view>
		</view>
				
				
				
		<!-- btns -->
		<view class="btns">
			<button>确认买单</button>
			<!-- <button class="active">确认买单</button> -->
		</view>
				
				
				
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: 'Hello'
			}
		},
		onLoad() {

		},
		methods: {

		}
	}
</script>

<style lang="scss">

	page{
		background: #F3F3F3;
	}
	
	#apps{

		display: flex;
		flex-direction: column;
		
		// form
		.form{
			background: #fff;
			border-radius: 12px;
			margin: 34rpx 34rpx 0 34rpx;
			box-sizing: border-box;
			padding: 10rpx 40rpx;
			
			.form_item{
				display: flex;
				align-items: center;
				justify-content: space-between;
				height: 88rpx;
				line-height: 88rpx;
				position: relative;
				border-bottom: 1px rgba(153, 153, 153, .2) solid;
				&:last-of-type{
					border: 0;
				}
				text{
					font-size: 28rpx;
					color: #333;
					font-weight: bold;
					width: 120rpx;
				}
				.placeholder{
					font-size: 28rpx;
					color: #999;
				}
				input{
					height: 88rpx;
					line-height: 88rpx;
					flex: 1;
					padding: 0 16rpx 0 48rpx;
					text-align: right;
				}
				.price{
					color: $index_color;
					font-size: 32rpx;
					font-weight: bold;
				}
			}
			
		}
		
		

		
		
		// btns
		.btns{
			margin: 100rpx 0 50rpx 0;
			padding: 0 90rpx;
			box-sizing: border-box;
			
			button{
				background: #DE4335;
				box-shadow: 0px 6rpx 12rpx rgba(222, 67, 53, 0.5);
				opacity: 1;
				border-radius: 44rpx;
				margin-bottom: 40rpx;
				color: #fff;
				font-weight: 36rpx;
				
				&.gray{
				background: #f6f6f6!important;
				box-shadow: 0px 6rpx 12rpx rgba(246, 246, 246, 0.5);
				color: #333;
				}
				
				&::after{
					border: 0;
				}
				&:hover{
					opacity: .9;
				}
				&.active{
					opacity: .5;
				}
				
			}
			
		}
		
		
	}
	

</style>
